#include "bm.h"
#include <ctime>
#include <iostream>
#include <string>

using namespace std;

int main(){

	string source = "i will find you ever";
	string pattern = "er";
	time_t s1 = time(NULL);
	cout<<bm(source,pattern);
	time_t s2 = time(NULL);
	cout<<bm_search1(source, pattern);
	//bad_char_shift(pattern,shift);
	//good_suffix_shift1(pattern,shift);
	//copy(shift, shift + pattern.size(),ostream_iterator<int>(cout,"__"));
	//good_suffix_shift(pattern,shift_);
	//copy(shift_, shift_ + pattern.size(),ostream_iterator<int>(cout,"__"));
	return 0;
}
